build: CalculatorMain

CalculatorMain: Calculator.o EatSpaces.o Expression.o Term.o Number.o
	g++ -Wall -o Calculator Calculator.o EatSpaces.o Expression.o Term.o Number.o

Calculator.o: Calculator.cpp Calculator.h EatSpaces.h Expression.h
	g++ -c Calculator.cpp
	
EatSpaces.o: EatSpaces.cpp
	g++ -c EatSpaces.cpp
	
Expression.o: Expression.cpp Term.h
	g++ -c Expression.cpp
	
Term.o: Term.cpp Number.h
	g++ -c Term.cpp
	
Number.o: Number.cpp
	g++ -c Number.cpp
	
clear:
	rm -f *.o
	rm -f *tor
